package com.apex.lottery.service;

/**
 * @ClassName VerificationCodeService
 * @Description
 * @Author ZJX
 * @Date 2025/3/29 18:40
 * @Version 1.0
 **/
public interface VerificationCodeService {
    /**
     * 发送验证码
     *
     * @param phoneNumber
     */
    void sendVerificationCode(String phoneNumber);

    /**
     * 从缓存中获取验证码
     *
     * @param phoneNumber
     * @return
     */
    String getVerificationCode(String phoneNumber);
}
